<div class="layui-form-item">
    <label class="layui-form-label" style="width: {{ $width['label'] }}px;">{{ $label }}</label>
    <div class="layui-input-inline" style="width: {{ $width['field'] }}px;">
        <div class="file-field" data-name="{{ $name }}" data-options="{{ $options }}">
            <div class="file-list">
                <?php $index = 0; ?>
                <?php $value = $value ?: []; ?>
                @foreach($value as $v)
                    @include('admin.partials.file_preview')
                    <?php $index++; ?>
                @endforeach
                <div class="pick-file-container" style="display: none;">
                    <div class="pick-file" id="{{ $name . '_' . uniqid() }}">
                        <div class="top-left"></div>
                        <div class="top-right"></div>
                        <div class="bottom-left"></div>
                        <div class="bottom-right"></div>
                    </div>
                </div>
            </div>
            <div class="layui-clear"></div>
            <div>
                {{--<a class="layui-btn layui-btn-primary pick-file" id="{{ $name . '_' . uniqid() }}">选择文件</a>--}}
                {{--<a class="layui-btn layui-btn-primary start-all">全部开始</a>--}}
                {{--<a class="layui-btn layui-btn-primary stop-all">全部暂停</a>--}}
            </div>
        </div>
        @include('admin.partials.validate_errors', ['name' => $validateName])
    </div>
</div>
